#pragma once
#include "gameroom.h"

class GameHuntingRoom : public GameRoom
{
public:
	GameHuntingRoom(void);
	virtual ~GameHuntingRoom(void);

	VOID Init( KEYTYPE Key, CODETYPE MapCode, const TCHAR * pszRoomTitle, const TCHAR * pszRoomPWD, const BASE_ROOMINFO * IN pRoomInfo, const ADDITIONAL_ROOMINFO * IN pAdditionalInfo );

	virtual eZONETYPE	GetZoneType() { return eZONETYPE_HUNTING;	}
	virtual VOID		Ready( Player * pPlayer, CODETYPE FieldCode, WzID AreaID );
	virtual BOOL		Join( Player * pPlayer, CODETYPE FieldCode, WzID AreaID );

	virtual CODETYPE	GetEntryFieldCode();

	virtual const ADDITIONAL_ROOMINFO *	GetAdditionalInfo()	{ return &m_AdditionalInfo; }
protected:
	inline VOID			SetAdditionalRoomInfo(const ADDITIONAL_ROOMINFO * pInfo) { memcpy(&m_AdditionalInfo, pInfo, sizeof(ADDITIONAL_ROOMINFO)); }
private:
	ADDITIONAL_ROOMINFO m_AdditionalInfo;
	__DECL_GAMEZONEPOOL(GameHuntingRoom)
};
